<!--
轻论坛导航：默认头部
Bootstrap 4.0 推荐的 PC/Mobile 公共写法
优点：公用性
缺点：结构稍微有点复杂-->
<!--{hook header_nav_start.htm}-->
<div>
	<!--{hook header_title_start.htm}-->
	<div class=" row border shadow bg-white" style="height: 35px">
		<div class="container">
			<div class="row">
				<div class="col-6 flex-row d-flex">	
					<a href="http://shop.soqiqi.com/index.htm" style="line-height: 35px">	
						[返回主网站]
					</a>
				</div>
				<div class="col-6 flex-row-reverse d-flex">
					<span style="line-height: 35px;font-size: 10px;">
						第一年
					</span>
					<span style="line-height: 35px" class="mx-1">
						-
					</span>
					<a href="<?php echo url('shop-'.$shop['sid']);?>" style="line-height: 35px">
						<?php echo $shop['name'] ?>	
					</a>
				</div>
			</div>
		</div>
	</div>
	<div class="d-none d-sm-block " style="background-color:#FFFFFF">
		<div class="container">
			<div style="height: 120px" class="d-flex flex-column">
				<img src="/view/img/ad/2.png" style="height: 120px;width: 100%;" alt="">
				<!-- <img src="/view/img/ad/2.png" class="mt-3" style="height: 70px;width: 100%;" alt=""> -->
			</div>
		</div>
	</div>
	<header class="navbar navbar-expand-lg navbar-light" style="background-color: #ff5400 !important;" id="header">
		<div class="container">
			<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#nav" aria-controls="navbar_collapse" aria-expanded="false" aria-label="<?php echo lang('toggler_menu');?>">
				<span class="navbar-toggler-icon"></span>
			</button>
			<!--{hook header_nav_logo_before.htm}-->
			<!-- <a class="navbar-brand text-truncate" href="<?php echo $header['mobile_link'];?>">
				<img src="<?php echo $conf['logo_mobile_url'];?>" class="logo-2">
				<?php if($header['mobile_title']) { ?>
					<span class="hidden-lg"><?php echo $header['mobile_title'];?></span>
					<?php } ?>
				</a> -->
			<!--{hook header_nav_logo_after.htm}-->	
			<?php if(empty($uid)) { ?>
				<a class="navbar-brand hidden-lg" href="<?php echo url('user-login');?>" aria-label="<?php echo lang('login');?>">
					<i class="icon-user icon"></i>
				</a>
				<?php } else { ?>
					<a class="navbar-brand hidden-lg" href="<?php echo url("thread-create-$fid");?>" aria-label="<?php echo lang('thread_create');?>">
						<i class="icon-edit icon"></i>
					</a>
				<?php } ?>
				<!--{hook header_nav_user_icon_after.htm}-->
				<div class="collapse navbar-collapse" id="nav">
					<!-- 左侧：版块 -->
					<ul class="navbar-nav mr-auto">
						<!--{hook header_nav_forum_start.htm}-->
						<!--{hook header_nav_home_link_after.htm}-->
						<!--{hook header_nav_forumlist_loop_start.htm}-->
						<li class="nav-item">
							<a class="nav-link text-white d-inline-block text-truncate" href="<?php echo url("shop-".$shop['sid']);?>">
								<i class="icon-circle-o d-md-none">
								</i>首页
							</a>
						</li>
						<li class="nav-item">
							<a class="nav-link text-white d-inline-block text-truncate" href="<?php echo url("shop-".$shop['sid']);?>">
								<i class="icon-circle-o d-md-none"></i>
								商家介绍
							</a>
						</li>
						<li class="nav-item">
							<a class="nav-link text-white d-inline-block text-truncate" href="<?php echo url("shop-".$shop['sid']);?>">
								<i class="icon-circle-o d-md-none"></i>
								产品服务
							</a>
						</li>
						<li class="nav-item">
							<a class="nav-link text-white d-inline-block text-truncate" href="<?php echo url("shop-".$shop['sid']);?>">
								<i class="icon-circle-o d-md-none">
								</i>资讯中心</a>
						</li>
						<li class="nav-item">
							<a class="nav-link text-white d-inline-block text-truncate" href="<?php echo url("shop-".$shop['sid']);?>">
								<i class="icon-circle-o d-md-none">
								</i>案例分享
							</a>
						</li>
							<li class="nav-item">
								<a class="nav-link text-white d-inline-block text-truncate" href="<?php echo url("shop-".$shop['sid']);?>">
									<i class="icon-circle-o d-md-none"></i>分类信息
								</a>
						</li>
						<li class="nav-item">
							<a class="nav-link text-white d-inline-block text-truncate" href="<?php echo url("shop-".$shop['sid']);?>">
								<i class="icon-circle-o d-md-none"></i>
								联系我们
							</a>
						</li>
							<!--{hook header_nav_forumlist_loop_end.htm}-->
							<!--{hook header_nav_forum_end.htm}-->
					</ul>
				</div>
		</div>
	</header>
			</div>
			<style>
			a.nav-link:hover{
				color: #ff5400 !important;
				background: #ffffff;
				}
			</style>
			<!--{hook header_nav_end.htm}-->